﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CuaHangLego.Model
{
    public abstract class BaseModel
    {
        public enum StateTypes{
            NoChange, WillBeAdd, WillBeChange, WillBeRemove, Removed
        }
        public StateTypes StateType { get; set; }
        public string State { get { return this.StateType.ToString(); } }

        public BaseModel()
        {
            this.StateType = StateTypes.NoChange;
        }
    }
}
